package com.example.ict.service;

import com.example.ict.entity.User;
import com.example.ict.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 功能：
 * 作者：张传琦
 * 日期：2024-05-05 23:51
 */
@Service
public class UserService {

   @Autowired
   UserMapper userMapper;
   public void insertUser(User user){
       userMapper.insert(user);
   }
}
